DeviceError

Device related error codes

This enum defines the error codes that device operations may return.

Response Scenarios

ErrorValueDescription
NO_ERROR0Operation successful
NO_DEVICE_DETECTED1No device detected
NO_SYSTEM_PERMISSION2No system permission
NOT_SUPPORT_CAPTURE3Capture not supported
OCCUPIED_ERROR4Device occupied
UNKNOWN_ERROR5Unknown error

Entries

Link copied to clipboard

Operation successful.

Link copied to clipboard

No device detected.

Link copied to clipboard

No system permission.

Link copied to clipboard

Capture not supported.

Link copied to clipboard

Device occupied.

Link copied to clipboard

Unknown error.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val value: Int

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.